package cn.itcast.dao;

import cn.itcast.pojo.Role;
import com.github.pagehelper.Page;

import java.util.List;

public interface Sys_roleDao {
    List<Role> findAll();

    Page<Role> selectByCondition(String queryString);

    Boolean add(Role role);

    Role findById(Integer id);

    Boolean update(Role role);

    Boolean deleteById(Integer id);
}
